<%@ page language="java" contentType="text/html; charset=ISO-8859-1"   pageEncoding="ISO-8859-1"%>
<%@taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Form edit book</title>
</head>
<body>
	<h1>Update book</h1>

		 <form name="input" action="<c:url value='updatebook'/>" method='post'>
								  <input type = "hidden" name="id" value="${booktoupdate.id}"/>
			<label>Title</label>   <input type = "text" name="title" value="${booktoupdate.title}"/><br>
			<label>Price</label>   <input type = "text" name="price" value="${booktoupdate.price}"/> euros <br>		
			<label>ISBN</label>    <input type = "text" name="isbn" value="${booktoupdate.isbn}"/><br>
			<input type="submit" value="Save" />
		</form>
	<br>
	<a href="./main">home page</a><br/>
	

</body>
</html>